package com.nintendo.mapper;

import com.nintendo.entity.pojo.Desk;
import sun.security.krb5.internal.crypto.Des;

import java.util.List;

public interface DeskDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Desk record);

    int insertSelective(Desk record);

    Desk selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Desk record);

    int updateByPrimaryKey(Desk record);
    List<Desk> selectAll();

    void deleteByName(String name);

    Integer selectByDeskName(String tableNumber);

    void update(Desk desk);

    Desk selectByName(String name);
}